/*
 * This file is part of Jeve.

    Jeve is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    Jeve is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    Copyright 2007 Jochen Bedersdorfer (beders@yahoo.com)
 *
 */
package de.monoid.eve;

import org.w3c.dom.Document;

/** Validates an Eve response and tests if the info is current
 * 
 * @author beders
 *
 */
public class Validator {

  /** Return true, if the info is still valid. Uses the cachedUntil time
   * 
   * @param aSkillInTraining the document to test
   * @return true if the document is still valid
   */
  public static boolean valid(Document aSkillInTraining) {
    // TODO look for the cachedUntil time and compare it with current GMT    
    return true;
  }
  
}
